package com.vegetable.modules.mapper.outbound;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.vegetable.modules.entity.outbound.SalesOrderDetailStock;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 销售订单走货对照库存表 Mapper 接口
 * </p>
 *
 * @author wangruijie
 * @since 2024-03-29
 */
@Mapper
public interface SalesOrderDetailStockMapper extends BaseMapper<SalesOrderDetailStock> {

    List<SalesOrderDetailStock> selectSalesOrderDetailStock(Long detailId, Long stockId, List<Long> detailIds);

    List<SalesOrderDetailStock> selectSalesOrderDetailStock2(Long orderId);
}
